home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PRINTER
/
PSPRNT10.ARJ
/
PSPRINT.DOC
next >
Wrap
Text File
|
1991-12-31
|
25KB
|
522 lines
PSPRINT VERSION 1.0 USER'S GUIDE
Star Graphics
6904 Robin Willow Drive
Dallas, Texas 75248
PURPOSE OF PSPRINT
This program is designed to print a regular ASCII file on a Postscript
printer. In so doing, a variety of user defined styles may be used to
prepare the input for printing. For example, the user may specify that the
input data be printed two-up on a page (that is, print two pages on each
physical page).
SHAREWARE CONCEPT
PSPRINT is a shareware application that allows the user to print an ASCII
file on a Postscript printer. Several features enhance the printing such
as allowing the user to print two pages on each piece of paper. Some of
these features are disabled in the shareware version. When you register,
you will receive a diskette (specify format, 3 1/2" or 5 1/4") with the
latest version. A complete copy of the documentation will also be sent.
The serialized disk you will receive will not be copy protected, but it
will be for your own personal use (and is not to be distributed to others).
The shareware version may be distributed unaltered to anyone else and you
are encouraged to upload it to your favorite bulletin board, if it is not
already there.
If you find PSPRINT useful and continue to use it after a reasonable trial
period, please make a registration payment of $35.00 (mostly to cover the
cost of mailing you an updated diskette and documentation) to:
Star Graphics
6904 Robin Willow Drive
Dallas, Texas 75248
The $35.00 registration fee will license one copy for use on any one
computer at any one time.
Commercial users of PSPRINT must register and pay for their copies of
PSPRINT within 30 days of first use or their license is withdrawn.
Reasonable site licensing arrangements may be made by dropping the author,
Star Graphics, a note at the address above.
Anyone distributing PSPRINT for any kind of remuneration must first contact
the author, Star Graphics, at the address above for authorization. This
authorization will be automatically granted to distributors recognized by
ASP (Association of Shareware Producers) as adhering to its guidelines for
shareware distributors, and such distributors by begin offering PSPRINT
immediately. However, the author must be advised so that the distributor
can be kept up-to-date with the latest version.
You are encouraged to pass a copy of PSPRINT along to your friends and
associates for evaluation. Please enourage them to register their copy if
they find it useful. All registered users will receive the latest version
of PSPRINT and accompanying documentation.
LEGALESE
Star Graphics does not warrant that the licensed software will meet your
requirements or that the operation of the software will be uninterrupted of
error free. The warranty does not cover any media and documenation that
has been subjected to damage or abuse by your or others. The software
warranty does not cover any copy of the licensed software which has been
altered or changed in any way.
ANY IMPLIED WARRANTIES INCLUDING ANY WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE ARE LIMITED TO THE TERM OF THE EXPRESS
WARRANTIES. Some states do not allow limitiations on how long an impled
warranty lasts, so the above limitation may not appy to you.
The warranties set forth above are in lieu of any and all other express or
implied warranties, whether oral, written, or impled, and the remedies set
forth above are the sole and exclusive remedies.
Star Graphics is not repsonsible for any problems or damage caused by the
licensed software that may result from using the licensed software. This
includes, but is not limited to, computer hardware, computer software,
operating systems, and any computer or computing accessories. End user
agrees to hold the author harmless for any problems arising from the use of
the software.
The author shall not in any case be liable for any special, incidental,
consequential, indirect or other similar damages arising from any breach of
these warranties even if Star Graphics or its agents or distributors have
been advised of the possibility of such damages.
In no case shall Star Graphics liability exceed the license fees paid for
the right to use the licensed software.
BACKGROUND
Postscript is a printer control language whose function is not dissimilar
to the languages used by many other printers. For example, with most
dot-matrix type of printers, if the desired output is compressed at
approximately 15 characters per inch, the program would send a command to
printer in the form of an ESCape character followed by the ASCII number 15.
The ESC-15 combination is an element of the printer control language used
by that printer. So too, Postscript, is a printer control language, albeit
a very much enhanced one, that was designed for composition of an entire
page. An example of what the Postscript control language looks like is:
╔═════════════════════════════════════════════════════════════════════════╗
║ NOTE: These lines are truncated at the left ║
║ ║
║ 32 0 0 50 50 1 0 47 /Helvetica-Bold /font5 ANSIFont font ║
║ 300 317 557 (PURPOSE OF PSPRINT) SB ║
║ 32 0 0 42 42 0 0 38 /Times-Roman /font12 ANSIFont font ║
║ 300 428 1308 (This program is designed to print a regular ASCII file ║
║ 32 0 0 50 50 1 0 47 /Helvetica-Bold /font5 ANSIFont font ║
║ 300 575 366 (BACKGROUND) SB ║
║ 32 0 0 42 42 0 0 38 /Times-Roman /font12 ANSIFont font ║
║ 300 686 1773 (Postscript is a printer control language not too disimi ║
║ 300 736 1679 (printers. For example, with most dot-matrix type of pr ║
║ 300 786 1735 (approximately 15 characters per inch, the program would ║
║ 300 836 1704 (ESCape character followed by the ASCII number 15. The ║
║ 300 886 1735 (printer control language used by that printer. So tooB ║
║ 300 936 1752 (very much enhanced one that was designed for compositio ║
║ 300 1086 1752 (On the assumption that the printer will be used in in ║
║ 300 1136 1160 (had to be found to print a regular ASCII file while it ║
║ 300 1336 187 (the printer.) SB ║
║ 32 0 0 50 50 1 0 47 /Helvetica-Bold /font5 ANSIFont font ║
║ 300 1583 525 (SELECTING OPTIONS) SB ║
║ 32 0 0 42 42 0 0 38 /Times-Roman /font12 ANSIFont font ║
╚═════════════════════════════════════════════════════════════════════════╝
You can see from the example, that aside from the numbers which generally
represents X and Y coordinates of where data is to print on a page, most of
the commands are readable. It is easy to see where the font changes. If
you send ASCII data to the printer without these Postscript commands,
usually nothing will print because the printer will be waiting for the
Postscript commands telling it what to do with the data that was sent.
This is the reason why PSPRINT was written; to wrap the necessary
Postscript commands around the ASCII text in order to allow the Postscript
printer to perform its task. Generally, many Postscript printers provide
an emulation mode which will allow the printer to emulate an IBM Proprinter
or an Epson printer and in so doing allow it to print non-Postscript ASCII
text; however, in this situation, you generally do not have a wide
selection of fonts and font sizes available with which to perform the
printing.
In addition to specifying the font and its size to be used when printing
your ASCII text, PSPRINT allows many other specifications such as printing
pages two-up on a page.
SELECTING OPTIONS
Many options, described below, are available with PSPRINT. These options
may be selected in one of four ways, or any combination of the four. The
parameters may:
* default to the program defaults
* be specified in an "initialization file" whose name defaults to
PSPRINT.INI (but you are allowed to have as many initialization
files as necessary for usual stypes of print and can specify which
file to use).
* be specified on the command line invoking PSPRINT
* be input via menu selections.
The easiest way to run PSPRINT is to simply use the program defaults;
however, in the majority of instances changes will be desired. Changing
parameters is easily accomplished with the simple pull- down menus provided
by PSPRINT. For more permanent changes, from invocation to invocation,
parameters may be stored in either the default PSPRINT.INI file or in a
user named "initialization file".
USING THE PROGRAM DEFAULTS
If options are not specified in any of the ways discussed above, then the
program defaults will be used. The program defaults are:
╔════════════════════════════════════════════════════╗
║ Font = Courier ║
║ Size = 12 points (there are 72 points per inch) ║
║ Top Margin = .5 inch ║
║ Bottom Margin = .5 inch ║
║ Left Margin = .5 inch ║
║ Lines per inch = 6 LPI ║
║ Outline = No ║
║ Shading = No ║
║ Line Width = 1.2 ║
║ Rotate = 0 ║
║ Portrait (tall) page orientation ║
║ Two up printing = No ║
║ hdrfont = (See text) ║
║ hdrsize = (See text) ║
║ header = No ║
║ number = Nos ║
╚════════════════════════════════════════════════════╝
USING A PROFILE
You may place your most commonly used settings in an initialization file.
The default initialization file is named PSPRINT.INI and you may make your
changes in it, or you may simply build a completely new initialization
file. The easiest way to build an initialization file is to invoke
PSPRINT, set your options using the pull-down menus, and then select the
option from the File pull-down menu to save the initialization file; this
will prompt for the name to use for the new file.
If the first character of any line in the initialization file is an "*" or
a ";", that line is treated as a comment. Any or all of the parameters may
be placed into the initialization file. The format of the profile follows
the "Keyword = Operand" format. As mentioned earlier, you may have
multiple initialization files and specify which one is to be used with a
"/PRO=" parameter either on the command line or specified via the pull-down
menu. For example, if PSPRINT is started with the following command:
PSPRINT TEST.TXT /PRO=TWOUP.PRO
then the file named TEST.TXT will be printed using the specifications in
the initialization file named TWOUP.PRO.
PSPRINT has the capability to print using some special effects. You can
print the data with hollow, outlined characters, called "outline" printing.
You can print specifying that you want a shadow emanating from the
characters. Shading, fixed and variable of the characters may be
specified, or you can choose to print the characters using a "fancy" form
of printing. The keywords associated with "special effects" are mutually
exlusive. You may only specify one of the following keywords:
* outline
* fancyprint
* dropshadow
* variableshade
If multiple special effect keywords are specified, the program will only
honor the first one encountered.
It is not necessarily intended for PSPRINT to print an entire document
using the special effects capability, although it may be done. Rather the
purpose is to print only a line or two and ideally create an EPS
(Encapsulated Postscript File) from it for importing into a program like
PageMaker. High on the list of priorities is a modification to the program
that will automatically generate an EPS file but some technical problems
still need to be overcome. However, in the meantime, if you direct the
output to a file using the "device" keyword with a file extension of
".EPS", you may easily modify that file by adding a "BoundingBox:" comment
line as the second line of the file. For more information on construction
of the "bounding box" comment, you should see a good reference manual on
PostScript.
The keywords are:
KEYWORD
EXPLANATION
FONT Exact font name
SIZE Size of type
TOP Top margin in inches
BOT Bottom margin in inches
LEFT Left margin in inches
LPI Lines per inch
OUTLINE (yes or no)
NOMENU Suppresses display of menus
SHADING "No" or the degree of shading which is a number between 0
and 1 where 0 is white and 1 is black. If this parameter
is included in the profile with anything other than "no"
LW Width of line for outline characters in points
DEVICE Destination of the output. This may be a filename, an LPT
Port, or a pseudo port address such as PSPORT or AES:LPT3.
If you are printing directly to a printer, you should
specify whatever address you use to address your Postscript
printer. Some printer emulations set up "pseudo ports" so
that, for example, LPT1 could be a ProPrinter, LPT2 a
Hewlett-Packard Printer, and LPT3 a Postscript printer
(all, of course, physically attached to LPT1); in this
instance you would specify LPT3 as the device. If you
specify a filename, that file can be printed later by
copying it to the printer (Eg., COPY MYFILE.TXT LPT3).
ORIENT Specify portrait or landscape printing
ROTATE Rotation of characters on the page. A plus orientation
will cause the characters to be rotated counter clockwise
and a negative rotation will rotate the characters
clockwise. The parameter specification is specified in
degrees.
DROPSHADOW "Yes" or "no" depending if you want the characters to be
shadowed as though the sun were shining from the top left
corner of the page.
VARIABLESHADE "yes" or "no". Specifying "yes" will cause the characters
to be shaded in varying shades of gray with the darkest
portion of the character being the top and the lightest the
bottom.
FANCYPRINT "yes" or "no". Specifying "yes" will shadow the characters
in an attractive way. This is borrowed from the Postscript
Tutorial and Cookbook by Adobe Systems and is illustrated
on Page 68 of that book.
HDRFONT If header is specified, the user may indicate with this
parameter the exact name of the font to be used. No
checking is performed on the fontname thus it must be
entered exactly as it is in the printers "dictionary".
This parameter may not be specified via the menu option, it
may only be specified either in the profile or on the
command line.
HDRSIZE If a header is specified and a user font is specified with
the "hdrfont" option, then the size of the header font may
be specified with this parameter.
HEADER Specifying "yes" to this parameter will cause a header to
be printed at the top of each page. The header will
contain the name of the file being printed, it's creation
date and time, along with the date and time that the file
is being printed.
2UP (no parameter specified; if present the program will print
two pages in landscape mode on each physical page). Other
than making the output landscape no other parameters are
affected, thus you may specify any font, whether it should
be outlined or shaded, etc. However, the following
characteristics work well for 2up printing :
Font=Courier-Bold
Size = 6
LPI = 9
All margins (top, bottom, and left) will continue to be
honored on each virtual page (i.e., the left and right
portions of the physical page.)
NUMBER Specifying "yes" to this parameter will cause a four digit
sequential number to be printed at the beginning of each
line.
An example profile might look like:
EXAMPLE PROFILE
╔══════════════════════════════════╗
║ font = Helvetica ║
║ size = 10 ║
║ top = 1.5 ║
║ bot = 3 ║
║ left = 1.5 ║
║ lpi = 6 ║
║ outline = yes ║
║ shading = .5 ║
║ lw = .5 ║
║ *2up ║
║ *rotate = 45 ║
║ orient = portrait ║
║ device = LPT3 ║
║ header = yes ║
║ number = no ║
╚══════════════════════════════════╝
Note: The 2up and rotate options are shown coded as comments. If, for
some reason, you wanted these items to be actual parameters n the profile
you would, of course, remove the asterisks.
SPECIFYING THE FILE(S) TO BE PRINTED
Wildcard characters may be used to specify the name of the file(s) to be
printed. For example, if it is desired to print all files in the current
directory whose extension is ".TXT", the file may be specified as:
PSPRINT *.TXT
Parameters may be specified on the command line using the format:
/keyword=operand
where the keywords used are the same as described above in the
initialization file. For example to override the initialization file with
8 lines per inch, with a Courier-Bold font, you would specify:
PSPRINT TEST.TXT /LPI=8 /FONT=Courier-Bold
Note, if any command line options are speicified, the the first parameter
must always be the name of the file to be printed. If PSPRINT is invoked
with no parameters at all the program will display help text and prompt for
the name of the file to be printed. When specifying fonts on the command
line, or specifying the name of a downloaded font via the menu option, the
exact spelling and case must be used as the font is stored in the directory
within the printer. In the example above, Courier-Bold must be specified
exactly as shown, with the dash between the word courier and bold, and the
first letter of each portion must be capitalized. Another example might be
"BrushScript" which must be specified exactly that way. Neither
"Brush-Script" nor "Brushscript" will work.
SPECIFYING OPTIONS USING A MENU
By far, the easiest way to specify options is with the use of menus. Menus
are always displayed unless you invoke PSPRINT with the "/nomenu" option.
If the following line is used to invoke PSPRINT, the menus will be
displayed:
PSPRINT TEST.TXT
However, the following line will bypass the menu selections:
PSPRINT TEST.TXT /NOMENU
You may specify any other command line parameters in conjunction with the
menu option. The nomenu parameter may be specified in PSPRINT.INI if you
never wanted the menu displayed.
USING MENUS
The menus in PSPRINT follow the usual "Lotus-style" pull-down menus with
one added twist. As you move from one selection to another on the top
menu, not only does a brief description of the options available appear
below the choices, but a box appears that elaborates on the selections
available for that menu item. Some people find that the box popping up is
a bit disconcerting and this function can be disabled from the menu choice
in the File/Run selection by clicking the "FULL MENUS" option which will
toggle OFF if it is on and ON if it is off. Some of the menus are
illustrated in the printed version (or the Postscript version) of the
documentation file.
PARAMETER HIERARCHY
The hierarchy used when selecting options is as follows:
Program Defaults
PSPRINT.INI initialization file
Command line paramters
Menu selected options
This means that any item specified via the menus will override any of the
options specified via the command line or the profile. Any parameters
specified on the command line will override those specified in the profile.
If you have any comments, feedback, or suggestions please send them
directly to Star Graphics at the address shown below. Your input is
encouraged and appreciated.
Thank you vor trying PSPRINT. Remember, if you find PSPRINT
useful, please send $35.00 to register the product to:
Star Graphics
6904 Robin Willow Drive
Dallas, Texas 75248
Receipt of your registration fee will entitle you to a diskette containing
the latest version as well as a printed copy of the documentation.
╔══════════════════════════════════════════════════════════════════════╗
║ ║
║ REGISTRATION COUPON ║
║ ║
║ Name: __________________________________________________ ║
║ ║
║ Company: __________________________________________________ ║
║ ║
║ Address: __________________________________________________ ║
║ ║
║ City, State, Zip:__________________________________________ ║
║ ║
║ Country: _________________________________________ ║
║ ║
║ ║
║ Where did you obtain your copy of PSPRINT?__________________ ║
║ ║
║ ____________________________________________________________ ║
║ ║
║ ║
║ Are there any features that you would like to see added to PSPRINT? ║
║ ║
║ ___________________________________________________________________ ║
║ ║
║ ___________________________________________________________________ ║
║ ║
║ ║
║ Any other comments would be appreciated. __________________________ ║
║ ║
║ ___________________________________________________________________ ║
║ ║
║ ___________________________________________________________________ ║
║ ║
║ Distribution disk size desired (3.5"-DD or 5 1/4"-HD)______________ ║
║ ║
║ Include your $25.00 registration fee and mail to: ║
║ ║
║ Star Graphics ║
║ 6904 Robin Willow Drive ║
║ Dallas, Texas 75248 ║
╚══════════════════════════════════════════════════════════════════════╝